package xzy.com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@MapperScan("xzy.com.dao")
@SpringBootApplication
@RestController
public class WebSiteSprintApplication {
	@GetMapping("/hi")
	public String hello(){
		System.out.println("hello xld 成功");
		return "hello xld 成功";
	}
	public static void main(String[] args) {
		SpringApplication.run(WebSiteSprintApplication.class, args);
	}
}
